<p class="pageTitle"><%= l(:common, :editing) + " - " + link_to(@artist.fullname, admin_artist_url(@artist)) + ' - ' + Media.l_name.capitalize %></p>

<%= error_messages_for :media %>

<% tabnav :artist do %>
  <p><%= l(:help, 'new artist', :req_media) %></p>
  <%= render :partial => 'admin/medias/index', :object => @artist %>
  <hr />
  
  <strong>Add new media:</strong>
  <div id='add_media'>
    <%= form_tag({:action => "add"}, :multipart => true) %>
    <%= render :partial => 'admin/medias/new_media', :locals => {:artist => @artist, :type => :artist, :form => nil } %>
    </form>
  </div>
  
<% end %>